package com.labtalk.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.labtalk.admin.pojo.common.ResponseVo;
import com.labtalk.admin.pojo.entity.BarcodeEntity;
import com.labtalk.admin.pojo.model.BarcodeModel;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface BarcodeService {
    // 查询列表
    ResponseVo getList(Page<BarcodeEntity> page);

    // 创建条形码
    ResponseVo create(BarcodeModel model);

    // 更新条形码
    ResponseVo update(BarcodeModel model);

    // 删除条形码
    ResponseVo delete(String id);

    ResponseVo upload(MultipartFile file) throws IOException;
}
